package com.rao.crm.service.impl;

import com.rao.crm.mapper.BaseDictMapper;
import com.rao.crm.pojo.BaseDict;
import com.rao.crm.service.BaseDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Srao
 * @version 1.0
 * @className BaseDictServiceImpl
 * @date 2019/10/6 14:59
 * @package com.rao.crm.service.impl
 * @description
 */
@Service
public class BaseDictServiceImpl implements BaseDictService {

    @Autowired
    private BaseDictMapper baseDictMapper;

    @Override
    public List<BaseDict> findBaseDictByTypeCode(String dict_type_code) {
        return baseDictMapper.findBaseDictByTypeCode(dict_type_code);
    }
}
